find the arc length of a parametric curve